Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JS] Anno crud #1010

Merged
merged 9 commits into from
Sep 18, 2024
Merged

[JS] Anno crud #1010

merged 9 commits into from
Sep 18, 2024

Conversation

hinthornw
Copy link
Collaborator

@hinthornw hinthornw commented Sep 17, 2024

I need to add tests

js/src/client.ts Outdated
*/
public async readAnnotationQueue(queueId: string): Promise<AnnotationQueue> {
// TODO: Replace when actual endpoint is added
const queue = await this.listAnnotationQueues({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming is a bit funny here - getAnnotationQueue maybe?

readAnnotationQueue sounds like it should just return the items in the queue.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya.... I think for sake of consistency I'm gonna keep it though since we use read elsewhere

Copy link
Collaborator

@jacoblee93 jacoblee93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs tests but looks fine overall

nhuang-lc and others added 3 commits September 18, 2024 09:44
Add methods that are in the slots attribute to the functions list

---------

Co-authored-by: Nick Huang <nickhuang@Nicks-MacBook-Pro.local>
@hinthornw hinthornw force-pushed the wfh/anno branch 3 times, most recently from a71423a to f3d3bd6 Compare September 18, 2024 17:25
@hinthornw hinthornw merged commit 51143dd into main Sep 18, 2024
14 of 16 checks passed
@hinthornw hinthornw deleted the wfh/anno branch September 18, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants